package com.mapper.repository.mysql;

import com.bean.goods.GoodsClothing;
import com.bean.system.MenuInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface SysMenuInfoRepository extends JpaRepository<MenuInfo,String> {

    List<MenuInfo> findAllByOrderBySequAsc();//升序查询

    List<MenuInfo> findAllByIsdelOrderBySequAsc(String isdel);

    int countByNameAndAndHref(String name,String href);

    int countByNameAndAndHrefAndIdIsNot(String name,String href,String id);

}
